Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController A

Total Complexity 53
Dependencies 12
Dependents 15
Total lines 600
Lines of code 306
Logical lines of code 133
Comment lines 141
Methods 19
Properties 9

Methods 19

Method Rating Maintainability Complexity Lines of code
get_hpos_setting_for_sync()
A
37 11 89
process_pre_update_option()
A
52 9 25
get_hpos_setting_for_feature()
S
47 6 38
add_hpos_tools()
S
50 4 30
sync_now()
S
58 4 15
get_data_store_instance()
S
63 3 12
process_updated_option()
S
73 3 5
register_post_type_for_order_placeholders()
S
54 1 24
add_feature_definition()
S
58 1 17
delete_custom_orders_tables()
S
69 2 7
init()
S
63 1 11
init_hooks()
S
61 1 11
changing_data_source_with_sync_pending_is_allowed()
S
79 1 3
__construct()
S
82 1 3
register_removable_query_arg()
S
76 1 4
get_refunds_data_store()
S
79 1 3
get_orders_data_store()
S
79 1 3
custom_orders_table_usage_is_enabled()
S
79 1 3
get_orders_pending_sync_count()
S
80 1 3